package com.carrental.entity;

import java.sql.Timestamp;

//汽车列表
public class CarList {

    private String id;//ID
    private String model;//型号
    private int number;//数量
    private Double price;//单价
    private Timestamp createDatetime;//添加时间
    private String createUsername;//添加人

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Timestamp getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(Timestamp createDatetime) {
        this.createDatetime = createDatetime;
    }

    public String getCreateUsername() {
        return createUsername;
    }

    public void setCreateUsername(String createUsername) {
        this.createUsername = createUsername;
    }

    @Override
	public String toString() {
		return "CarList [id=" + id + ", model=" + model + ", number=" + number + ", price=" + price
				+ ", createDatetime=" + createDatetime + ", createUsername=" + createUsername + "]";
	}

}